﻿using OrderStateMachineWebApi.Models;

namespace OrderStateMachineWebApi.Services
{
    public interface IOrderRepository
    {
        Task<Order> CreateOrderAsync(decimal amount);
        Task<Order> GetOrderByIdAsync(Guid id);
        Task<List<Order>> GetAllOrdersAsync();
        Task UpdateOrderAsync(Order order);
    }

}
